/ Mac Power 1997 May
/ macpower199705.bin / AMUG / PROGRAMMING / BoxMaker++ 1.5.sit / BoxMaker++ 1.5 / NameLocker ƒ / NameFileLocker.h ![]() | < prev | next > |
MacBinary | 1996-11-29 | 896 b | [TEXT/KAHL] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Fri Nov 29 23:00:00 1996, modified Fri Nov 29 23:00:00 1996, creator Think C, type ASCII, 380 bytes "NameFileLocker.h" , at 0x1fc 382 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [KAHL] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4e 61 6d 65 46 69 | 6c 65 4c 6f 63 6b 65 72 |..NameFi|leLocker|
|00000010| 2e 68 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 01 7c 00 | 00 01 7e ae c5 61 c0 ae |......|.|..~..a..|
|00000060| c5 61 c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.a......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0c 9a 00 00 |........|........|
|00000080| 0d 74 79 70 65 64 65 66 | 20 65 6e 75 6d 0d 7b 0d |.typedef| enum.{.|
|00000090| 09 6b 49 67 6e 6f 72 65 | 46 69 6c 65 20 3d 20 30 |.kIgnore|File = 0|
|000000a0| 2c 0d 09 6b 4c 6f 63 6b | 46 69 6c 65 2c 0d 09 6b |,..kLock|File,..k|
|000000b0| 55 6e 6c 6f 63 6b 46 69 | 6c 65 2c 0d 0d 09 6b 49 |UnlockFi|le,...kI|
|000000c0| 67 6e 6f 72 65 4e 61 6d | 65 20 3d 20 6b 49 67 6e |gnoreNam|e = kIgn|
|000000d0| 6f 72 65 46 69 6c 65 2c | 0d 09 6b 4c 6f 63 6b 4e |oreFile,|..kLockN|
|000000e0| 61 6d 65 2c 0d 09 6b 55 | 6e 6c 6f 63 6b 4e 61 6d |ame,..kU|nlockNam|
|000000f0| 65 0d 7d 3b 0d 0d 63 6c | 61 73 73 20 4e 61 6d 65 |e.};..cl|ass Name|
|00000100| 46 69 6c 65 4c 6f 63 6b | 65 72 20 3a 20 70 75 62 |FileLock|er : pub|
|00000110| 6c 69 63 20 62 6f 78 6d | 61 6b 65 72 0d 7b 0d 09 |lic boxm|aker.{..|
|00000120| 70 75 62 6c 69 63 3a 0d | 09 09 4e 61 6d 65 46 69 |public:.|..NameFi|
|00000130| 6c 65 4c 6f 63 6b 65 72 | 28 20 69 6e 74 20 74 68 |leLocker|( int th|
|00000140| 65 46 69 6c 65 41 63 74 | 69 6f 6e 2c 20 69 6e 74 |eFileAct|ion, int|
|00000150| 20 74 68 65 4e 61 6d 65 | 41 63 74 69 6f 6e 29 3b | theName|Action);|
|00000160| 0d 0d 09 70 72 6f 74 65 | 63 74 65 64 3a 0d 09 09 |...prote|cted:...|
|00000170| 76 69 72 74 75 61 6c 20 | 76 6f 69 64 20 4f 70 65 |virtual |void Ope|
|00000180| 6e 44 6f 63 28 20 42 6f | 6f 6c 65 61 6e 20 6f 70 |nDoc( Bo|olean op|
|00000190| 65 6e 69 6e 67 29 3b 0d | 0d 09 09 76 69 72 74 75 |ening);.|...virtu|
|000001a0| 61 6c 20 76 6f 69 64 20 | 44 6f 4d 65 6e 75 28 20 |al void |DoMenu( |
|000001b0| 6c 6f 6e 67 20 72 65 74 | 56 61 6c 29 3b 0d 0d 09 |long ret|Val);...|
|000001c0| 70 72 69 76 61 74 65 3a | 0d 09 09 63 6f 6e 73 74 |private:|...const|
|000001d0| 20 69 6e 74 20 66 69 6c | 65 41 63 74 69 6f 6e 3b | int fil|eAction;|
|000001e0| 0d 09 09 63 6f 6e 73 74 | 20 69 6e 74 20 6e 61 6d |...const| int nam|
|000001f0| 65 41 63 74 69 6f 6e 3b | 0d 7d 3b 0d 00 00 00 00 |eAction;|.};.....|
|00000200| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000210| 00 00 00 01 0a 4d 61 78 | 20 64 65 20 54 6f 72 00 |.....Max| de Tor.|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 10 4e 61 6d 65 46 69 6c | 65 4c 6f 63 6b 65 72 2e |.NameFil|eLocker.|
|00000240| 68 63 02 00 00 00 50 61 | 72 74 53 49 54 21 00 00 |hc....Pa|rtSIT!..|
|00000250| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 ae d1 09 56 00 00 | 00 00 00 00 01 7e 00 00 |.....V..|.....~..|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 01 f2 25 00 00 00 |........|....%...|
|00000290| 00 42 08 55 73 61 67 65 | 53 70 79 00 00 00 00 00 |.B.Usage|Spy.....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 01 48 25 00 | 00 00 00 42 08 55 73 61 |.....H%.|...B.Usa|
|000002c0| 67 65 53 70 79 00 00 00 | 00 00 00 00 00 00 00 00 |geSpy...|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 48 |........|.......H|
|000002e0| 25 00 00 00 00 42 08 55 | 73 61 67 65 53 70 79 00 |%....B.U|sageSpy.|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 02 fd |........|...*....|
|00000330| 03 fd 00 28 00 04 01 dc | 02 54 ae c1 5b b2 00 00 |...(....|.T..[...|
|00000340| 01 3f 00 00 01 3f 00 00 | 00 00 00 00 00 00 01 00 |.?...?..|........|
|00000350| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 68 7d 24 |...L...L|...2.h}$|
|00000360| 1b ea 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000370| 00 0a 03 ed ff ff 00 00 | 00 00 00 68 80 6c 00 00 |........|...h.l..|
+--------+-------------------------+-------------------------+--------+--------+